/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
/*package com.hitechbangla.fctu.utility;

import com.hitechbangla.fctu.base.Location;
import com.hitechbangla.fctu.base.aircraft.Aircraft;
import com.hitechbangla.fctu.base.aircraft.AircraftState;
import com.hitechbangla.fctu.base.aircraft.AircraftType;
import java.awt.Rectangle;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class MultipleAircraft {
    
    public List<Aircraft> multipleAircraftList;   
    
    public void add()
    {
       
    }
    
    
    public MultipleAircraft(Rectangle rectangle)
    {
        multipleAircraftList = new ArrayList<Aircraft>();
        Random random = new Random();
        AircraftType aircraftType1 = AircraftType.getAllAircraftType().get(0);
        AircraftType aircraftType2 = AircraftType.getAllAircraftType().get(1);
        
        for(int i=0;i<15;i++)
        {
            int a = 500;
            int b = i+1;
            String callsign = Integer.toString(a+b);
            float heading = random.nextInt(359);
            float speed = 1000 + random.nextInt(1000);
            float newAircraftx = rectangle.x + random.nextInt(rectangle.width);
            float newAircrafty = rectangle.y + random.nextInt(rectangle.height);
            float height = random.nextInt(2000);
            
            Location location = new Location(newAircraftx, newAircrafty,0);
            AircraftState aircraftState = new AircraftState(callsign,location,heading,speed,height);
            Aircraft aircraft = new Aircraft(aircraftState,aircraftType1);
            
            multipleAircraftList.add(aircraft);
        }
        
        for(int i=15;i<30;i++)
        {
            int a =500;
            int b = i+1;
            String callsign = Integer.toString(a+b);
            float heading = random.nextInt(359);
            float speed = 1000 + random.nextInt(1000);
            float newAircraftx = rectangle.x + random.nextInt(rectangle.width);
            float newAircrafty = rectangle.y + random.nextInt(rectangle.height);
            float height = random.nextInt(2000);
            
            Location location = new Location(newAircraftx, newAircrafty,0);
            AircraftState aircraftState = new AircraftState(callsign,location,heading,speed,height);
            Aircraft aircraft = new Aircraft(aircraftState,aircraftType2);
            
            multipleAircraftList.add(aircraft);
             
        }
        
        
       
       // 
        //multipleAircraftList.add(aircraftType1);
      
    
    }
    
    public static void main(String a[])
    {
       //Rectangle rectangle = new Rectangle(20,20, 1000,1000);
       //MultipleAircraft multipleAircraft = new MultipleAircraft(rectangle);
               
        
    } 
    
}*/
